<?php
class AccionBotoneraModalKakoon extends AccionBotonera
{
    protected $ancho;
    protected $alto;
    
    const ANCHO_DEFECTO = 640;
    const ALTO_DEFECTO  = 480;
    
    public function __construct($titulo, $url, $ancho = self::ANCHO_DEFECTO, $alto = self::ALTO_DEFECTO)
    {
        parent::__construct($titulo, $url);

        $this->ancho = $ancho;
        $this->alto  = $alto;
    }
    
	public function creaCelda ($identificador)
	{
		$retorno = new CeldaBotoneraModalKakoon($this->titulo, $this->url, $identificador, $this->ancho, $this->alto);
		$retorno->setJS($this->js);

		return $retorno;
	}
}
?>